package edu.xmut.kakamusic.bean.entity;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import lombok.Data;

@Data
public class News implements MultiItemEntity {
    private Integer id;
    private Integer type;
    private String newsName;
    private String newsTypeName;
    private String img1;
    private String img2;
    private String img3;
    private String newsUrl;

    @Override
    public int getItemType() {
        return getType();
    }
}
